package com.itheima.demo.service;

import com.itheima.xo.pojo.Login;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author :WuJunJie
 * packageName :com.itheima.demo.service
 * fileName :LoginService
 * creationTime :2022-11-11 15:51
 */
@Transactional
public interface LoginService {
    Login findById(String id);
    Login findByUsername(String name);

}
